package com.lhf.novel.sysuser.vo;

import com.lhf.novel.sysuser.po.LoginPerPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * LoginSuccessVo实体类
 *
 * @author zy 刘会发
 * @since 2020/3/10$
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("登录成功的返回的实体")
public class LoginSuccessVo {

    @ApiModelProperty("用户的真实姓名")
    private String realName;
    @ApiModelProperty("用户的头像")
    private String headImg;
    @ApiModelProperty("用户的菜单")
    private List<LoginPerPo> menus;

    @ApiModelProperty("用户的角色，同时也是权限")
    private List<String> roles;
}
